zz_

index.js

zzmq.dev@gmail.com[dev1]/mathkit[implement-min-n-function-tests] / index.js @ b0bb4668 Download
Ladder Summary
  • file Add a min function mirroring Math.min behavior and comprehensive tests
export function sum(...numbers) {
  return numbers.reduce((total, n) => total + n, 0);
}
export { isOdd } from "./src/isOdd.js";
export { isEven } from "./src/isEven.js";
export { min } from "./src/min.js";